package com.example.prison.service;

import com.example.prison.entity.VisitorList;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【visitor_list】的数据库操作Service
* @createDate 2024-06-03 15:14:59
*/
public interface VisitorListService extends IService<VisitorList> {

    PageInfo<VisitorList> get(int pageNumber, int pageSize, String visitorName, String beginTime,String endTime);

    int add(VisitorList visitorList);

    void delete(Integer[] ids);

    int update(VisitorList visitorList, Integer id);

    VisitorList getById(Integer id);

    VisitorList getByIdCard( String idCard);

}
